/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package experiments;

import ImportDataFromPhone.*;
import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author ash
 */
public class GenericConstructor<T> {
    private List<T> list;
    
    GenericConstructor(){
        list = new ArrayList<>();
    }
    
    public void add(T newItem){
        list.add(newItem);
    }
    
    public static void main (String[] a){
        GenericConstructor<Record> x = new GenericConstructor<>();
        x.add(new RecordB());
        
    }
}
